package com.kla.power.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.kla.power.entity.InverterElectricEntity;
import com.kla.power.entity.StationEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 发电站表 服务类
 * </p>
 *
 * @author WuZH
 * @since 2024-06-02
 */
public interface IStationService extends IService<StationEntity> {

    List<StationEntity> queryList (StationEntity stationEntity);

    Integer queryCount (StationEntity stationEntity);

    StationEntity saveSingle (StationEntity stationEntity);

    StationEntity querySingle (StationEntity stationEntity);

    StationEntity updateSingle (StationEntity stationEntity);

    List<InverterElectricEntity> inverterRanking ( StationEntity stationEntity);

    Map<String, Integer> dashboardStationReport (StationEntity stationEntity );

    Map<String, Object> dashboardStationPower ( StationEntity stationEntity );

    Map<String, Double> dashboardPowerHistory ( StationEntity stationEntity );

    Map<String, Object> childStation ( StationEntity stationEntity );

    Map<String, Object> childHistoryData (StationEntity stationEntity);

    List<StationEntity> dashboardFullHour ( StationEntity stationEntity );

    List<StationEntity> dashboardPower (StationEntity stationEntity);

    List<StationEntity> stationDistribution(StationEntity stationEntity);

    List<Map<String, Integer>> screenStationNum (StationEntity stationEntity);
}
